Fix extension parsing for confluence attachments.