Merge pull request #1369 from gst/fix_jenkins_unicode_problem

Fix an encode problem.
Use "original" sys.stdout.