Fixes #23 Encode raw output as UTF-8.
Merge pull request #26 from tadpol/fixes_23

Encode raw output as UTF-8