Rename a directory.