Improved upload archives task.