tar to tempfile