Do not use wide-chars for config variable and all path-related functions.