Fixed `cygapt.utils.rmtree` for Windows

On Window the write permission is also needed.