Make exec_command utf-8 friendly