fixup directory processing and faux-symlink creation on windows