write_riemann plugin: Use format_name() to generate the service name.