Update csv parsing for new API.

Version `0.4.0` of `csv` introduced breaking changes to the API. Docs aren't yet up to date but this seems to work.