Move creation of temp. dir to beforeEach/afterEach.