Overwrite tmp files in segment extraction

Third time's a charm?