Helper HDR functions, basic HDR saving, need to debug RLE