sublime text 3 compatiblity

With this patch rsub runs on Sublime Text 2 and 3.