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.