Actually fix that content_type error.

Content-Encoding is like "gzip" or somesuch, it doesn't describe the actual
encoding of the file. Also, MIME::Types returns an array so thats why that call
was failing earlier.