Fix an inverse bug in pathFromFolder, and add folderFromPath
Fix an inverse bug in pathFromFolder, and add folderFromPath

keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client,keybase/client