Fix #17: Manage incomplete last lines.