Ruby MIME::Types implementation