Installation script: Add support for patch versions.

(cherry picked from commit 5351f35718904f314d6279d017302ca14b3d9c16)
Fix a race in API tarball download.

(cherry picked from commit c626569035769345e2422dc75b0cd08702c9493f)
Bump version.