Change interface to fix race condition in git-chrome-fs