fixes to paths

Using the rest path is what you recommend on line 24 of tei-to-html.xqm.