Fixes java2htmlGenerateOverview task failed in Windows caused by path separator is treated as invalid escape sequence for methods that expect regex such as replaceFirst() and replaceAll().