Windows: simplify the pipe(2) implementation