bug fix to allow direcotry names with whitespace under windows