Gtfswrite

Fix #1630 (GTFS write functionality).