Fix metadataio import in io.init