Lock around extract-image downloads and extracts

This wil be needed for parallel image builds.

Change-Id: I6ba3a10b44fe37f8d8903ad06302a672c3e972c8
Merge "Lock around extract-image downloads and extracts"