Added callback before chunk upload. Allows user to perform operations
before chunk uploads. Allows async operations by providing user with
message to call when they want the upload to continue.