fix EOF flush error
Merge pull request #5 from geopipes/eof_flush_error

fix EOF flush error