CreateProcess and retrieving stdout and stderr from unix program