Fix a bug in size caluating for readdirplus buffer