ReaderUtil::each_byte shouldn't include EOF byte -- Issue #5056