Ticket #2121: don't calculate directory size if directory is symlink.