user/jszakmeister: set the output encoding while using pygmentize

Some of my files have UTF-8 characters, and pygmentize will exit with an
error when it tries to convert to Python's default setting of
sys.stdout.encoding--which is 'ascii'.
user/jszakmeister: exit with a failure if any command fails