Appended '.ANUDC' to the version. Updated FileSystemWriter to remove
extra tag files in the directory 'metadata'.
TempFileHelper throws an exception when unable to delete a file to be
replaced with a temp file. Changed this behaviour to allow multiple
attempts to delete before throwing an exception.
Merge branch 'anudc-bagit-TempFileFix' into anudc-bagit
In the list of tag directories from which files will be deleted metadata
directory is added only if it exists. The directory should exist with
tag files if 1 or more payload files exist. If for any reason the
directory didn't exist, it threw an NPE.
Refactored the temp file delete retry code.
When loading a bag by payload files, FileNodeDir retrieves a list of
files in a directory, then creates objects for each of them. During
these two events, if a file is deleted, the object would not be created
and RTE was thrown. Now, if the file doesn't exist, it continues on
without throwing an exception.