Making salt.utils.atomicfile python3 compatible
Merge pull request #17933 from nmadhok/utils-python3-atomicfile

Making salt.utils.atomicfile python3 compatible