updated hdf5 utility functions