Use mime-types 1.x for Ruby 1.8.7 compatibility.

I think this should fix the 1.8.7 Travis build. Let's see!