known_hosts: improvements per #3627 comments

 * an argument was 'keysfile' instead of 'hostsfile'

 * the getpwnam error message was cryptic, this was also applied to `authorized_key`

 * Also fixed some mispellings and whitespace