Handle windows paths with both forward and backward slashes.