Prohibit object renaming through the modifty_item API (#1079).

The appropiate rename_* API's should be used for renaming objects.