Use correct error message when renaming/deleting folder

This is for #8003.
You need to make Title Case versions of these strings.