further improved hdf5 import