Remove eof flag
Merge pull request #84 from ragingwind/writing-option

Remove eof flag