Fixed ext() method

Fixed ext() method to call $file->path() instead $this->_path