hdf5 writer correctly overwrites existing datasets