fix create directory bug on windows