Making salt/utils/validate/net python3 compatible
Merge pull request #18002 from nmadhok/utils/validate-python3-net

Making salt/utils/validate/net python3 compatible