Allow UTF8 chars in logging output. Fixes #604