Added UTF-8 conv to sys.stdwrite

Google uses utf-8 for special characters of a language like öäü in german.
Else program crashes