Add handling of deprecated 'image/tif' mimetype when determining an extension.