fix ListOpenFilesJob and tests
This does two things:
- fixes the logic in the procstat implementation to not call
procstat_getpathname()
-- it does the wrong thing, and the return-value handling was backwards anyway. - optimizes listopenfilesjob so that it doesn't recreate the current-processes-list so often (which might be expensive, and was very spammy on stderr before the first point, above)
Edited by Adriaan de Groot