Fix EPUB generation when the portal title contains spaces.