[Bug 34719] cabinet_open{,_stream} returns 0 on failure but doesn't compliant to _open interface