hdf5 creation fixed