California fire torches 22,800 acres, threatens thousands of homes