More work on the staging and commit phases of the package uploader client.