Fixing a bug where a zip is still created even if you cancel xml export