builder: create ".build" slightly more atomically.

Now there never is a moment where ".build" contains a fraction of a unipackage.