Improve file name handling and removal in CachedDataSink
This ensures that all files are tentatively removed.
It also adds warning about which file failed to be removed.
This ensures that all files are tentatively removed.
It also adds warning about which file failed to be removed.