only modify /etc/hosts (and ask for sudo) if it has changed
Merge pull request #391 from kbrock/skip_write_hosts

only modify /etc/hosts (and ask for sudo) if it has changed