fix documnet root access for uri with extension

This is Windows issue for documnet root access.
If uri access has extension.
For example 'http://test.com/index.html'.

    $uri_info['dirname'] = '\'.

this commit is fix of document root access for uri with extension.