fixed bug replacing existing host file entries