Create a backup file before serializing to XML.