Fix tar writing.