We read bytes but write strings, apparently
Fix another dumb encoding error
Make settings not None. Sublime text 3 is lame and import sublime doesn't actually import sublime. The module can be None for an indefinite time.