Give proper error message when fetching of URL failed

If fetching a file fails due to certificate errors, up to now the
script just died, as we throw wget's output away. Now we report that
fetching a file failed and show the URL.

Card: Analytics 1253
Change-Id: I0f5dde3b744c6c70b057e03f619117c0b6804e5b