Fix file removal an symlink on windows.