yahoo response codes are now coming back as strings, not ints

yahoo response codes are now coming back as strings, not ints. this patch handles both scenarios.