Bug 932382 - Handle EOF without a trailing newline, r=ahal