fix another typo related to subprocesses in open file detection