WIP: Deal with "knownhosts lines" instead of "type and key".

TODO: Don't use mktemp, rename host_key to knownhosts_line everywere.