segment: Add option to save R dataframe; handle more versions of CBS maybe?