Making salt.utils.migrations python3 compatible