Fix mangling of wiki/ paths when generating Pages page