Properly remove directories on Windows