Making salt.modules.file python3 compatible