FIX: genmetadata raise unicodedecodeerror