Making salt.modules.kmod python3 compatible