Switch the IO streams to UTF-8 (fixes #68)