Merge pull request #78 from tirkarthi/fix-open-mode

Use _read for better compatibility on using U mode.