Write seqFile in an atomic manner

Losing that file on crashes *really* hurts.