don't store the filename for cpu and trace profiles
We don't need the filename for them any more, since we open the file when the profile starts. Also for the cpu profile we'll end up overwriting the file and leaving it empty.
I didn't catch this in testing; apparently we weren't overwriting the trace profile, although we were overwriting the cpu profile. Not exactly sure what the difference is, but I didn't investigate further.