some utils for using hdf5 in mass spec