[COOK-2403] Cast symbol to string in templates

Cast the cookbook_name symbol to a string, so that the gunicorn_config
and template resources being created work if a custom template is
provided.