Ensure new keys are appended on a new line

If the known_hosts file doesn't end with a newline, this adds the
newline before adding the new key.