Fixed IOException handling while readSegment 

This is a fix to solve 

https://github.com/haraldk/TwelveMonkeys/issues/1

Please be so kind and integrate for next release. 

Thanks

Marcus