When saving .sr files in PulseView the resulting .sr files contain the data, but no longer have the channel names the user may have set in PulseView. This works fine when "-C" is used in sigrok-cli, so it must be an issue in the C++ bindings or in PulseView.
Fixed in ead4af1fb22bc2f2b0342bcd71de9d2af56ef571.