Ensure that parent dir for known_hosts file exists
Ensure that parent dir for known_hosts file exists

Fixes #4153. Also made pep8 fixes.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt