iCloud: How to rename a folder on macOS Sierra?
Try renaming your folders from the command line, by typing the following into Terminal:

cd ~/Library/Mobile\ Documents/com~apple~CloudDocs
mv "oldFolderName" "newFolderName"