Origin/curl error message

Added a pretty error message for when curl fails to cache a file.