fileinfo fix for PHP >= 5.3.x

fileinfo is default in PHP 5.3 and doesn't need the $_ENV['MAGIC'] parameter and even doesn't have it per default.