Pin mime-types transitive dependency to 1.25.1 on ruby 1.8

On Travis, 1.8 builds seem to fail without this pinning, even though I can't
reproduce locally.