Update documentation, handle missing known_hosts and missing newline