safer rimraf