fix to allow proc_open() to accept php://stdin as stdin