slave: use system rmdir on windows

And try twice if the first time is not working.

This seems to be the only way of getting rid of annoying trouble when some files are not deleted, making the traversal cleanup fail.