transform_bin: check that output is data frame