fix malicious path problem on windows