Resolving issue with Mac csv parsing.

This adds an encoded file wrapper around the stream which
resolves the following exception during parsing:
CSV parse error - new-line character seen in unquoted field
- do you need to open the file in universal-newline mode?