h5py: py3 compatibility