fix replaceAll dot issue on windows