Update directory.Size to support being run async.