avoid trying to read after eof is set. Otherwise trucated files
cause spurious checksum errors when app read even after receiving
'-1' (EOF) from the stream.
add truncated files for testing. how these are created :
10000-truncated.txt.lzo : dd if=100000.txt.lzo of=100000-truncated.txt.lzo bs=1k count=324
10000-truncated.txt : lzop -dc 10000-truncated.txt.lzo > 10000-truncated.txt
add test for truncated lzo file
Merge pull request #79 from rangadi/improve_handling_of_truncated_files

Improve handling of truncated files