Fix output paths for xml files.