Writing version number and units into spikes file