Python: Download file, get file size and Content type.