rationalised the tally hdf5 functions to allow data to be appended even when hdf5 already exists