Update HostnameChanger.py

Some fixes