fixing line byte counting in rf_textfile_read_lines()