Fix DepsLogTest.Recompact by making sure outputs aren't garbag-collected.