Merge branch 'sh/write-pack-file-warning-message-fix' into sh/finish-tmp-packfile