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 824904bdb0d39da5126561647075b61732f0180d)