Use the first of the array of MIME::Types [#75219]

MIME::Types.type_for should always return an array, but it seems 1.9.x was
stringifying differently. This takes the first value and explicitly stringifies.