patch to fix #2640

Changed _run to not set stdout=None when retcode=True
See bug #2640 for more details

Not sure if this is the best solution, but it does allow cmd.retcode to function in all cases. Currently cmd.retcode is causing other commands to break such as ebuild.upgrade