Why do you have this rather than just sending callers to tmpdir?