api06: simplify diff uploading.