Truncate directories as they are displayed to user.