[wd] fix space in path. fixes #2665, fixes #3169.