fix deadlock issue in `callProcessWithOutput` in case of output larger than pipe buffers
This uses the implementation of callProcessAndCollectOutput, which does not have the issue (see #3).
This uses the implementation of callProcessAndCollectOutput, which does not have the issue (see #3).