Fix race condition in update_stat()
[monky] / extras /
drwxr-xr-x   ..
drwxr-xr-x - nano
drwxr-xr-x - vim