Adapt fingerprint to catch HTTPError from requests

Removed reference to urllib2 exceptions as the HTTP fetches
are done now using 'requests' module. 
This change addresses the issue #255.