Fixing dta2tar writer.