Added flags to choose whether stderr and stdout are returned by ChildProcess. Used this to fix linux native file chooser.