Abstracted CSV export heavy-lifting to its own class.