Fix for Python 3.3.

Pretty ridiculous. http://stackoverflow.com/questions/15032108/pythons-open-throws-different-errors-for-file-not-found-how-to-handle-b/15032122