replace os.TempDir() with c.MkDir()