rimraf replaced with del.