use urllib2 to download files

 - urlib2 give us the needed error if the file does not exist on the server

Change-Id: I85bc33bfb554811c7cccc40ba5a98e922c679479
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>