Simplify code in csv_writer a bit.
Merge branch 'master' of https://github.com/stan-dev/stan
Merge branch 'master' of https://github.com/stan-dev/stan