Split Dir into Dir (local) and AbstractDir (local/remote)