rework linux stat/stat64