[ticket/12332] Fix display of attachments with long file names

https://tracker.phpbb.com/browse/PHPBB3-12332

PHPBB3-12332