Don't escape logs for pastebin. Closes #5433.
Merge remote-tracking branch 'refs/remotes/ivan/bug/5433_unescape-logs-for-pastebin' into develop