handle missing `file.stat`