Keeps sudo to a minimal.  Only copy the new hosts file into place if it has been altered

This will reduce the number of times UAC prompts, or sudo is required.  This will help when repeatedly doing provisioning (updates from a salt/chef/puppet config), where hostname changes are rarer.