FireLog-and-fix-fstat-fopen-discrepancy