Limit number of slices to two

The second argument of str.split is maximum number of splits not slices.