Set backlink to the parent folder, not cloud's root.

If you edit a file and click on the backlink you always returned to
the root folder of your cloud. This patch sets the correct parent
folder as backlink.
Bit messy, but looks like it works.
Merge pull request #506 from dawnbreak/master

Set backlink to the parent folder, not cloud's root.