Added gedcom-compatible writer and test for preservation of file format