Fix a race in API tarball download.

(cherry picked from commit c626569035769345e2422dc75b0cd08702c9493f)
Bump version.

(cherry picked from commit 9f5c91003653fd62cc856adbd06a726c67d077cc)