Export GEDCOM files using fetch() rather than fetchAll() to reduce memory requirements