added retry logic for file creation for fully functional initial sync; update/versioning logic to come