ECMS-5170 reduce the created pdf temp file when the file name is too long. Because almost OSes: Ubuntu, window, Mac support only file name with 255 characters