makes write_seismograms more consistent with specfem3d version, and lays groundwork for future changes