Tweaks for xml update writes

Now matches failures between test runs.
Sets duplicates id's to a value not recognized as a failure.
Writes new xml file with update values.

The new xml file should result in the creation of a reduced failure
list.