Normalize theme template names.