workaround for some crap in h5py.