Add methods to write long HDF file attributes.
Output system time to log and h5 file.