Fix for Sublime Text 3

This should make Text-Pastry work equally well in ST2 and 3.
Thanks!