Fix path generation for Windows' backslash