Truncate long filenames in shortmessages