[#2497] Remove folders with read only files on Windows.