fix librados python backwards compatibility