Fix parsers skipping last line if there's no newline.