sdk: synchronize on write

Change-Id: Id9e6c5d789a9f9532b611b3c2b6de3a49c802f0a
Signed-off-by: Michael pasternak <mpastern@redhat.com>