Packbuilder progress notification function.
the stage of the packbuilder
the current object
the total number of objects
the callback payload
0 on success or an error code