perf/trace/scripting: rw-by-pid script cleanup