Fix exception on non-ASCII characters when redirecting stdout to file.
Fix exception on non-ASCII characters when redirecting stdout to file.

AurelienLourot/github-commit-watcher,AurelienLourot/github-commit-watcher