Fixed console encoding error

Fixes problems like "UnicodeDecodeError: 'ascii' codec can't decode byte 0x84 in position 8: ordinal not in range(128)" for some commands on my windows machine...