fixed hdf5 generation

fixed inheritance of hdf5 generation code from the base