utf8 encoding for python stdout