Replacing deprecated rimraf library with del