(refs #9) Removes spaces in mime type to choose correct TextExtractor