Making salt.modules.logrotate python3 compatible
Merge pull request #17440 from nmadhok/modules-python3-logrotate

Making salt.modules.logrotate python3 compatible