test/lib_read_write: account for larger-than-normal pipes