Making salt.utils.s3 python3 compatible