Remove hole in the middle

There is additional cleanup that will come with the `DirPath` merge but at least the hole-in-the-middle is gone now.
Can't we do the check and cast at the same time? It feels a bit strange to check in the `createChord` method and cast in the `runChordOnHdfs` method