Making salt.utils.nb_popen python3 compatible