Fix bug on windows where the backslash got removed in func MakePath()