Rename a local file before declaring it to SAM
I had thousands of files with the same file name but under different paths. It would be great if FTS can rename them before declaring them to SAM.
The current work around in my mind without the proposed FTS feature is:
1. have the metadata plugin check if the file is renamed, if not, rename it and raise the InvalidMetadata error;
2. if the file has been renamed, the metadata plugin will issue a "retry" on the orignal filename which should have raised an "InvalidMetadata" error, and continue to construct the metadata.