Use `salt.utils.fopen` within `salt.utils`? Nope! How did it even work?!
Fixes saltstack/salt/#3273
Merge pull request #3296 from torhve/loopinterval

Fixes saltstack/salt/#3273