Restore 1.8.7 compatibility by pinning down mime-types gem version.