write output for hdf5