Display attachment file names correctly in Thunderbird 17

As reported in AMO, `confirm-mail-dialog.xul` doesn't show attachment file names In Thunderbird 17.

This commit fixes the issue keeping compatibility with older versions of Thunderbird.