Limit display size of current path in file browser, like the OS does.
When a path is too long, only the latest levels are displayed, and the beginning of the path gets replaced with "...".