Remove `dirname` in `lithium\action\Request` since not consistent over OS.

`dirname` behave differently in OS which cause some issues on Windows.