Cannot stat file. Gnome terminal. fwrite($stream. ide or terminal statistics. fwrite($stream, (string) $record['formatted']); }.