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?
added strip for scenarios with spaces in the header line
Verify that OrderedRows header is not None before iterating
Support universal newlines in the parser regardless of whether the CSV stream was opened in universal newline mode; support unicode characters using the default encoding