Fix issue #25

eofbit std exception is replaced by eof_exception, checked in peek(), so no need to throw std exception when encounter EOF.
Merge pull request #26 from HackFisher/patch-3

Fix issue #25