Making salt.pillar.s3 python3 compatible