Correct extension issue with TIFF surrogate