Convert wav files to bwf files

The primary difference between a wav and a broadcast wave (bwf) file is the bext chunk in the header.

Is it possible to insert data 12 bytes into the beginning of a file?

I want to see if the file has a bext header (62 65 78 74), and if it doesn’t I want to insert my own chunk.

Thoughts?

Brian