Make plugin compatible with sublime text 3

With this little fix plugin seems to be working fine even in st2
Merge pull request #21 from i-akhmadullin/patch-1

Make plugin compatible with sublime text 3