fix: tifformat - write header if NOT initialized