saltstack/salt — comment on commit e8aee275e982669a338e82245fa46f339c469baf
File:  line 0
By thatch45:

Yes, there are a few other places that will need this, we should also try to detect the codec of the file that is downloaded from "source" otherwise the standard writes will fail