Rename a tempvar.

Since it's a string, 'type' seemed a little confusing since
it's also used by Mime::Types.  Make it more stringy sounding