Gtfswrite

Fix #1630 (GTFS write functionality).
Again, kind of wary of nesting unnamed generic types especially since this doesn't tell us much about what the Tuple2<String, Integer> represents. A comment could alleviate that concern though. Generics also cease to exist at runtime (one of the main annoyances with Java), potentially making debugging awkward.