try
--- common/tremsnaps.php.orig 2008-11-01 21:08:44.000000000 -0400
+++ common/tremsnaps.php 2008-11-01 21:09:39.000000000 -0400
@@ -205,7 +205,9 @@
$out = "\xFF\xFF\xFF\xFFgetservers 69 empty full";
@fwrite( $fp, $out );
- $data_string = @fread( $fp, 100000 );
+ $data_string = '';
+ while( ( $read = fread( $fp, 100000 ) ) !== FALSE )
+ $data_string .= $read;
$meta = @stream_get_meta_data( $fp );
@fclose( $fp );
or some such
By the way, all the files in your current zip are gz'ed. Might want to fix that.