Add Sublime Text 3 compatibility.

- Use `print` function instead of statement
- Don't import the unused `commands` module (which isn't shipped in ST3's Python distribution)
- Convert command output to a string