shims for h5py < 2.2