Fix another issue where Unicode headers may be sent. I don't know why some
files have a 'mimetype' attribute with a unicode value. (LP #1338707)