prevent stringio error from opening small files
Merge pull request #114 from nitay/open-read-small-error

Prevent stringio error from opening small files