support writing in GTFSMain.
remove uneccessary whitespace.