Hundreds of homes were evacuated as wildfires swept parts of California.