Update `salt.config` to use `salt.utils.fopen` instead of `open`
Update `salt.crypt` to use `salt.utils.fopen` instead of `open`
Update `salt.fileserver.gitfs` to use `salt.utils.fopen` instead of `open`
Update `salt.grains.extra` to use `salt.utils.fopen` instead of `open`
Update `salt.master` to use `salt.utils.fopen` instead of `open`
Update `salt.modules.config` to use `salt.utils.fopen` instead of `open`
Update `salt.modules.grains` to use `salt.utils.fopen` instead of `open`
Update `salt.modules.img` to use `salt.utils.fopen` instead of `open`
Update `salt.modules.kmod` to use `salt.utils.fopen` instead of `open`
Update `salt.modules.mount` to use `salt.utils.fopen` instead of `open`
Update `salt.modules.nfs3` to use `salt.utils.fopen` instead of `open`
Update `salt.modules.portage_config` to use `salt.utils.fopen` instead of `open`. PEP-8 and formatting fixes
Update `salt.modules.state` to use `salt.utils.fopen` instead of `open`. Remove unused imports.
Update `salt.modules.timezone` to use `salt.utils.fopen` instead of `open` + PEP-8
Update `salt.modules.yumpkg` to use `salt.utils.fopen` instead of `open`
Update `salt.pillar.git_pillar` to use `salt.utils.fopen` instead of `open`
Update `salt.pillar.libvirt` to use `salt.utils.fopen` instead of `open`
Update `salt.runners.cache` to use `salt.utils.fopen` instead of `open`
Update `salt.search` to use `salt.utils.fopen` instead of `open`
Update `salt.state` to use `salt.utils.fopen` instead of `open`