Making salt.states.pyenv python3 compatible
Merge pull request #17614 from nmadhok/states-python3-pyenv

Making salt.states.pyenv python3 compatible