Support non-clean URLs in MODS/EAD export.

Made the URLs exported by the MODS and EAD export work if clean URLs
aren't enabled.