don't truncate file sizes to 32 bits for directory indexes.
Refactor attr definition and initialization a little.