On Windows platform STDERR uses temp file too. Fixes blocking of processing.

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