I try to resolve and foundout that .getCanonicalPath has strange behavior:
useful-stuff.multitool> (.getCanonicalPath (File. "c:"))
"C:\Users\Intel"
useful-stuff.multitool> (.getCanonicalPath (File. "c:/"))
"C:\"
useful-stuff.multitool> (.getCanonicalPath (File. "c:\"))
"C:\"