Fixed ext() method in File.php to call $file->path() instead $this->_path

Fixed ext() method in File.php to call $file->path() instead $this->_path