Fix rmdir on windows slaves.