Project: datamanagement
Issue DM-4215: Butler: SafeFile and SafeFileName can overwrite good with bad in some cases
A bad file can be written in Butler, in the case where 2 temp files that use SafeFile or SafeFileName to the same location are started, one closes, and then the other fails - and then closes and writes the bad file. Need to handle the exception in a way that does not write. Also, in the case of no exception (failure), when closing B, need to compare to A and throw if different.
Story points: 4