Replace use of mkdtemp with fixtures.TempDir

Change-Id: I392b2cc14f27a099fecad3e15d3f14b269c1f621