Modify all callback functions to use new signature. ota-update now uses this to pass the partition to some get/put methods.