Adjusted hdf5_a to write each timestep to a separate file