Issue #1604 LINKBAG - dirty records are  saved before toStream().