Correctly lex files that aren't newline terminated