return eof/error if only ffm header has been written, should fix #815