Add support for last lines without newline in .hosts (untested).