XWIKI-8978: PDF Export does not handle XWiki links to attached files properly
* Add unit tests + fix bug