ox-odt: Fix bugs in metadata generation