On Windows platform STDIN, STDOUT and STDERR uses temp file.

Due to php bug 51800, https://bugs.php.net/bug.php?id=51800, output from
process must not use pipes. STDIN, STDOUT and STDERR must be redirected
to file.