Fix additional new lines being added to `hosts` file

Modify add to host behavior to prevent new line from being prepended when `echo`ing `content`.

It looks like the `echo` command automatically puts new content on a new line.