Added an error message with exit if CURL failed to cache a file (eg: SSL
certificate not installed :P)