We want to save the logs as plain text without special Unicode characters
Raw text contains paragraph (U+2029) and line (U+2028) separators that many (command line) tools don't know. In plain text those are replaced by line feed characters.
(cherry picked from commit bd18a609)