When i ran this whole patch without this line , there was an error in windows for trying to mkdir where there's already a dir. This is the solution.