Rename oldkey into newkey but fails if the destination key newkey already exists.
1 if the key was renamed 0 if the target key already exist