Transform all symlinks into files and dirs