Support for unicode paths.
Refinement the administrator permission detection.