When opening logfiles, use io.open instead of open

* This allows passing in errors='ignore' which is unavailable
  to plain open in Python2.
* Fixes Issue #30
Merge pull request #34 from ATenderholt/encoding_fix

When opening logfiles, use io.open instead of open. Fixes #30.