+ bugfix to check for curl errors when downloading files.
+ bugfix to check for curl errors when downloading files.

FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes,FiviumAustralia/OpenEyes