Fixing destination filename of some HTTP downloads
Fixed broken cache behaviour whith download of dev-packages archives
Should resolve #745
Merge pull request #778 from AltGr/fix-745

Fix 745