Fixing directory climb up on windows