Split FilePath into DirPath and FilePath

Does this belong in mundane, or is it really an Ivory specific thing?