Fix automatic xml creation in Downloader::repairFile