get assetType from content-disposition if available

Update to allow the assetType to be determined dynamically after download, rather than based on the URL string before download. Allows us to use github zipball URLs if there is some sort of firewall blocking git access.