Prevent UnicodeEncodeError

Prevents UnicodeEncodeError: 'ascii' codec can't encode character, while printing shell commands output
This fixed a problem to print a user name called "José" from a system with unicode locale.