Work around performance bug in subprocess.Popen.communicate()