mucking around with the Stats / FileInode distinction

I still don't like how they're essentially the same, except when
they're not. But this will do for now.
simplifying by using the IndexedFS base
fix lint error about making functions in a loop