remove race condition in File#increment