Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.