Update GraphBuilder to account for changed station ids.

Also prepare file for output.