Create tar and use writer