HADOOP-9261 fix for s3n
add sanity check that src/dest dir checking doesn't break renames to paths with the same raw prefix as the src