Helper to download url
Fixed url fetcher
Improved error handling