reshuffle API so that ContainerFD::getattr can pass its index down
into Container::getattr() to get the file size.