ref-filter: add shortcut to work with strbufs