Fix for #211 - remove directories synchronously

With `fs.rmdir`, the deletion order cannot be guaranteed. It seems `fs.rmdirSync` would be the way to go, but it means wrapping the call in a try/catch. Not sure if that's what you would have in mind. And obviously, I could only test on Windows.