Fix unpack_http_url for already downloaded files

mimetypes.guess_type returns a tuple (type, encoding),
so, use element number 0 as content_type.

Otherwise, TypeError is raised in cache_download
(cannot write a tuple to file).