FOP-2875: add support for non-ascii characters in pdf file attachment names, fix name collisions of attachments