Issue #16903: Popen.communicate() on Unix now accepts strings when
universal_newlines is true as on Windows.
Fix test_tools hangs on Windows. Patch by Jeremy Kloth.