automatically include latest commit ID in built
split: fix marker end offset larger than chunks

calculation of end index of markers that go beyond the end of a split file
was miscalculated to point beyond the end of the file. This is fixed.