Fix counting of lines for DUMP formats 7 and 8 and avoid exessive flushing.
Fix counting of lines for DUMP formats 7 and 8 and avoid exessive flushing.

SixTrack/SixTrack,SixTrack/SixTrack,SixTrack/SixTrack,SixTrack/SixTrack,SixTrack/SixTrack,SixTrack/SixTrack