Making salt.states.file python3 compatible