Use mime-types 1.x for Ruby 1.8.7 compatibility.
Specify mime-types 1.x for Ruby 1.8 only.
Merge pull request #384 from TimMoore/ruby-1.8.7-compat

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