Restrict mime-types to a version that works on 1.8.7