use new method to check write privileges to the hosts file in linux/unix

Signed-off-by: huhamhire <me@huhamhire.com>
Merge branch 'VPS-SEA/HostsUtl-Desktop-Utls'