Python Hosts file editor