core: use boost::filesystem::path instead of std::wstring, remove the use of std::wstring