fix example of rotate with edit_backup

rotate is inside 'edit_defaults' body, not inside 'rename'
Merge pull request #943 from nickanderson/pr_911

Cherry pick example fix from master