Making salt.modules.parted python3 compatible