read in text mode, not binary

Read text files as binary it generally bad idea (and write too, but now using wb shortest way for avoid problems while writing encoded text in python3). For example it affects regular expr. matching in third-party extractors for whitespace in windows platform.