Removes full path on symlinks where possible.