reduce tmp filename length