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.
Merge remote-tracking branch 'refs/remotes/kali/bug/encode-body-file' into develop