Improved on passing pipe file descriptors to child processes.