Tools for use of HDF5 in Geant4