bintext: convert to refcounted frames