Prevent infinite recursion in response_render
Use fputs/fputc instead of printf