Simplify tar writing