Remove unused argument fdOut in pipeTreeToFile()