`File.Stat.__index__` worked. Matching didn't work because it gathers info about the record at compile time, I guess.