fixed replaceReved on windows

stopped using path.sep for replaceReved option