Add proper escape transforms when on windows