chimera: use path to get files parent on remove

while in most of the cases we need to resolve symbolic links,
on delete we must only link and not the target

Acked-by: Gerd Behrmann
Target: master, 2.6, 2.7, 2.2
Require-book: no
Require-notes: no
(cherry picked from commit b1c04d4f22230cbff4ba53f40d97178944c0bb8e)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>