Truncate filenames.