reexported deprecated write-bch-data function