app/desktop: check rename events

Do rename operation only if the old and new files of rename events
has same parent. Otherwise do create operation.

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/23f18ac4663d4e9e8c945e1afbddcbf0
tower: https://tower.im/projects/1c0cd0c59ef941298c6e6b2ba6833b91/todos/dd7c069a36e64494a29898bd5ab50e2e

Change-Id: I057d30734d57afc1c63fe9b5d8326359f54a51ab