Let the tmpdir be injectable.