Replacing deprecated rimraf by del