fix econding utf8 on sys.stdout