Use utf-8 output codec.
Merge pull request #2 from paulfurley/unicode-issues

Use utf-8 output codec. Fixes #1