Fixed issues with MODS export template.

Fixed a number of issues with the MODS export that prevented exports
from validating.