DNS is handled differently on Windows.

If platform is Windows, do not write the resolv.conf