fixed a typo with a variable in the compatibility helper
diff --git a/system/helpers/compatibility_helper.php b/system/helpers/compatibility_helper.php
index 9cc2825..0d21464 100644
--- a/system/helpers/compatibility_helper.php
+++ b/system/helpers/compatibility_helper.php
@@ -129,7 +129,7 @@
 	
 		if (($flags & LOCK_EX) > 0)
 		{
-			if (! flock($fh, LOCK_EX))
+			if (! flock($fp, LOCK_EX))
 			{
 				$backtrace = debug_backtrace();
 				_exception_handler(E_USER_WARNING, 'file_put_contents('.htmlentities($filename).') unable to acquire an exclusive lock on file', $backtrace[0]['file'], $backtrace[0]['line']);
@@ -145,7 +145,7 @@
 		}
 	
 		// Close the handle
-		@fclose($fh);
+		@fclose($fp);
 	
 		// Return length
 		return $written;