Fix deleting war file on windows