Fixed bug #3289 where temp files in directories being tested with is_really_writable() were not being handled properly
diff --git a/system/helpers/file_helper.php b/system/helpers/file_helper.php
index a5dc437..5fb31cf 100644
--- a/system/helpers/file_helper.php
+++ b/system/helpers/file_helper.php
@@ -200,8 +200,10 @@
 			return FALSE;

 		}

 		

+		fclose($fp);

 		@chmod($file, 0777);

 		@unlink($file);

+		return TRUE;

 	}

 	elseif (($fp = @fopen($file, 'ab')) === FALSE)

 	{