tar: allow passing error directly to onend.