[UI] Fix another issue with files getting linefeeds added on download.