XWIKI-11528: Office viewer fails if the page where the file is attached has a special character in the name (whitespace)

(cherry picked from commit 2e3572490271602785dd5391ebb0ce59481e9d09)