Lock mime-types to ~> 1.25 on Ruby 1.8 and JRuby in 1.8-mode