writeFlirBin function

Saves thermal image data to a binary file