Restore the encoding of the messages. Fixes: #4956

We still are getting wrong output with unicode chars, but this
at least avoids breaking the fetch command.