Fixed reading of target paths of symlinks