fixing git cloning when output dir exists, issues with deleting files on windows