Make fs.stat synchronous. Maybe we can find the race.