fix DividedByteArrayOutputStream, DividedCharArrayWriter