#1261: Handle duplicated files.

Update the one in use with better data from the one not in use, then delete the one not in use.