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

More lengthy notes in the commits themselves.