WebDAVFileSystem.cpp: Refactoring.
FarDialog.cpp: Refactoring.
Fix cppcheck warnings.
Fix x64 build.