adjusted path replacement on windows system in --new task