applications: Ignore symlinks when measuring cache/data size
Some applications have symlinks that point outside of their folder in their cache/data directories, leading to incorrect, slower measurements. Namely, Builder has a symlink that leads to the home directory in its cache folder, which also contains the Builder app directory, creating recursion and (very) wrong measurements.
By adding the FTW_PHYS
flag to the function that traverses the
directory and measures folder size, symlinks are ignored.
Closes #2375 (closed)