TreeTest : update to delete temporary files on windows platform