[#55] Attempt up to 3 times to upload a file to the datastore

* Include a default number of retries
* This default number is used for every file: images and zip files