HttpTextLoader: fix off by one error for numSplits calculation