Write out new host entries one line at a time