title: Switching to Python 3 causing UnicodeDecodeError
body: <p>I've just added Python3 interpreter to Sublime, and the following code stopped working:</p>
  
  <pre><code>for directory in directoryList:
      fileList = os.listdir(directory)
      for filename in fileList:
          filename = os.path.join(directory, filename)
          currentFile = open(filename, 'rt')
          for line in currentFile:               ##Here comes the exception.
              currentLine = line.split(' ')
              for word in currentLine:
                  if word.lower() not in bigBagOfWords:
                      bigBagOfWords.append(word.lower())
          currentFile.close()
  </code></pre>
  
  <p>I get a following exception:</p>
  
  <pre><code>  File "/Users/Kuba/Desktop/DictionaryCreator.py", line 11, in &lt;module&gt;
      for line in currentFile:
    File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/encodings/ascii.py", line 26, in decode
      return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 305: ordinal not in range(128)
  </code></pre>
  
  <p>I found this rather strange, because as far as I know Python3 is supposed to support utf-8 everywhere. What's more, the same exact code works with no problems on Python2.7. I've read about adding environmental variable <code>PYTHONIOENCODING</code>, but I tried it - to no avail (however, it appears it is not that easy to add an environmental variable in OS X Mavericks, so maybe I did something wrong with adding the variable? I modidified /etc/launchd.conf)</p>