Write HDF5 restarts