fix encoding bug in applescript linter