Fix race condition when updating tiles.

Grab a worker lock when performing updates to blobs.

Kernels run in a separate thread, and operations to the local
worker are dispatched directly from the thread instead of going
through the RPC system.  This can result in conflicts between
local updates and remote updates.