Offering a ''Plain Text'' download should not be solely based on whether the file has a MIME type that is a sub-type of {{{text/}}}, because that excludes text files with MIME types such as {{{application/xml}}} or {{{image/svg+xml}}}. Use the {{{trac.mimeview.is_binary()}}} function instead.