Fix crash on empty input file in FinalNewline.