identifyFileFormat: Write identification into Events

This replaces the old archivematicaFITS event-writing code, which will allow us to remove archivematicaFITS and merge #6.