ENH Write metadata to TIFFs