handle UnicodeDecodeError for metadata.xml (typo)