Fixes 23

Fixes #23 Encode raw output as UTF-8.