Implemented pipe(2) on the master side.