Python 3 compatibility

A quick fix for running this plugin on Sublime Text 3