shorten long filenames in progressbar.