Set stdout to always output UTF8
Set stdout to always output UTF8

Outputting UTF-8 usually works fine as Python recognizes the terminal as
UTF-8 compatible or in the case of ISO-8859-1 it at least has a way of
reencoding data so that characters like å, ä, ö can be displayed
properly.

However, when piping the output, Python no longer knows what the
receiving end will accept and so it defaults to US-ASCII or something
similarly ancient.

This sets the default output to UTF-8 when Python is unable to determine
the output encoding, typically when stdout is redirected. Hope the
other end can receive it!

Fixes #491.

ettrig/NIPAP,plajjan/NIPAP,fredsod/NIPAP,ettrig/NIPAP,fredsod/NIPAP,bbaja42/NIPAP,garberg/NIPAP,fredsod/NIPAP,garberg/NIPAP,fredsod/NIPAP,plajjan/NIPAP,SpriteLink/NIPAP,plajjan/NIPAP,fredsod/NIPAP,SoundGoof/NIPAP,ettrig/NIPAP,bbaja42/NIPAP,ettrig/NIPAP,SoundGoof/NIPAP,ettrig/NIPAP,garberg/NIPAP,SoundGoof/NIPAP,SpriteLink/NIPAP,SoundGoof/NIPAP,SpriteLink/NIPAP,garberg/NIPAP,bbaja42/NIPAP,bbaja42/NIPAP,SpriteLink/NIPAP,plajjan/NIPAP,SpriteLink/NIPAP,garberg/NIPAP,SoundGoof/NIPAP,bbaja42/NIPAP,fredsod/NIPAP,SoundGoof/NIPAP,SpriteLink/NIPAP,garberg/NIPAP,bbaja42/NIPAP,plajjan/NIPAP,ettrig/NIPAP,plajjan/NIPAP