Set UTF-8 encoding on non-binary file open & close to fix issue #131.
Merge pull request #132 from andytruett/master

Set UTF-8 encoding on non-binary file open & close to fix issue #131.