code: public static void renamePath(FileSystem fs, Path oldName, Path newName) throws IOException {
      renamePath(fs, oldName, newName, false);
    }
docs: A wrapper around {@link FileSystem#rename(Path, Path)} which throws {@link IOException} if
  {@link FileSystem#rename(Path, Path)} returns False.