Actually, we don't expect the split class to always be `FileSplit`. We are just doing this workaround specifically for `FileSplit`s.