use a tmpfile for unar command