Fix mime-type lookup.

refs #1813