windows-stale-processes.ps1 wrote stale-processes.json only after the settle
poll. If a later Get-CimInstance call threw, the error left the script before
the write, so the full record of the process it had already seen (untruncated
command line, CreationDate) was lost, and a process that exits before the
finally-block evidence collector runs cannot be read again (Greptile and Sol
on #161139).
Catch a failed re-read, keep the last records read, save the report with the
error as queryError, and then fail the check with that error. A failed first
read still throws as before: nothing was seen yet.
The new platforms("windows") test fails on the previous head (no
stale-processes.json) and passes here on Windows PowerShell 5.1.