If options.stderr and stdout are not provided use process.stderr or out