Making salt.modules.apache python3 compatible