add stat to readdir