Update hosts after SetHostname is called.

This happens before provisioning. Which is useful for cases such as Ansible if the hostname is used in a playbook. See #31. I don't know if there is a better place that this can be hooked in but this works for me.