Making salt/utils/validate/path python3 compatible