shim for h5py < 2.2