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 282ee62413b83d8b8e4bb4d1d9775dbeef13ce2f)