mime-types version for older rubies