fixed WDMUtil file close error