BF: move import statement so that it is only used when h5py is there