Fix for Windows paths

The rewriteRevs function does a simple compare of paths which on Windows can result in no rewrites due to how path strings are stored. This simply takes the dest and target and unifies the slashes so that the compared path is consistent.