Fixes bugs where a huge number of files are opened in the first window of a multi-window drmemtrace run, and extra headers are added as well.
Augments the windows-split test to run long enough to reproduce this problem, and adds to its output to detect errors in post-processing.
Issue: #3995