switch rimraf with del