Improved CSV writing, return r_id to names map

in time period headways
Refactored increase freq script to re-use abstract IO funcs

... defined in time_periods_hways_model.py