updated to handle retries

can blow away the xattributes of a list of files in a directory
replay the uploads again
checks if files exists and simply warns. Will throw an error and halt
program if finds file with 0 bytes - something went wrong and needs to
be examined.