bugfixes

unicode.php was used but never defined.

undefined variables :

Use of Undeclared Variables:
includes\/cache.inc line 404 $dir, was not passed.

includes\/filesystem.inc line 502
$dir should be $flie.