Making salt.modules.file python3 compatible

bad list