Making salt.modules.hashutil python3 compatible