move MIME constants to mime.rb