eliminate TTOCTTOU race condition...
eliminate TTOCTTOU race condition...

just protect with a vanilla lock

keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client