BUG: Fix not consolidating before to_csv (GH3624_)
Merge pull request #3625 from jreback/to_csv

BUG: Fix not consolidating before to_csv (GH3624_)