Making salt.modules.genesis python3 compatible