Make tmp-dir handling consistent across all fs tests.