A thorough gut stopped leaks, added solar panels, and upgraded the interior finishes with wood and handmade tile.