Same here: `popen.stderr` should go to `logfileerr` and `sys.stderr`.