The _DATA callback needs to be deferred until extracted data is
handled for the state machine to work correctly for identity data
generation.
fixes regresion in "apk index"
fixes 9855169e "io: simplify mpart and error handling"
(cherry picked from commit b7a7ea72)