python2 compatibility and various scenarios not handled.
Add utility to help add/modify /etc/hosts for a noderange. Also fix buggy code in syncfileclient noticed while reusing it for confluent2hosts.