truncate over-long paths