not using mime-types 2.0 for now, because we want to still support Ruby 1.8.7