Write time steps to file

resolves #13