Fixed issue on windows with directories escaping whitespace