Making salt.cloud.libcloudfuncs python3 compatible