Use mime-types for ruby 1.8