fix --prof-process --preprocess flag
Checklist
-
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
tools
This is a one-line fix to prevent the --preprocess option (used with --prof-process to output JSON) to cause an isolate log file profiling process to crash.