Fixed use mime_type name and other variable names to avoid collisions in i18n.