add custom inode fields and more robust stat