Add editor encoding to files, as well as envscripts