Write seqFile in an atomic manner

Losing that file on crashes *really* hurts.
v1.0.2