ofarc: Fix adding symlinks to directories