Fix syntax generator

I fixed `Generate syntax` function to work with Sublime Text 3.
This will require rubyzip gem to be installed.