Reenabled the non-ImageMagick function for writing Targa image files.