Replacing rimraf with del