Remaining fixes to pass all of MRI's test_stringio.rb.