Fix unpack_http_url for already downloaded files

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

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