A simple wrapper should not require a stream_flush() method.  I think that test is invalid.  Plus they opened the file for reading.