fixed #67: added write_geoff(), cf. issue #43