Cache known hosts file to improve performance when you have 1000s of hosts.

More lengthy notes in the commits themselves.
Can we initialise known_hosts_mtime here?