Fix rimraf call from rm_recursive
Convert the path for tar extractor