cleanup a partially written repomd.xml file if things go sideways