chore(extract): normalize path in windows batch code generator