[refactor] Do not use `common.rimraf`