cbson: check failure to create new PyObject.