Use correct error message when renaming/deleting folder

This is for #8003.
you don't need to call `string.format` here since you're not passing any data as we do with `ERR_TYPE_LOAD_PROJECT_NATIVE` with the same message, just assign it to message.