Correction: It's not the rear rail which was stripped but the mounting plate the rear rail rides in. There is an upper lip under which the rail is supposed to slide. When the camera was forced closed the rail lifted and both bent as seen in the photo and ripped the thin upper lip clean off both rail mounts. I could probably bend the rail section pretty close to straight but pretty close won't work in the assembly. It's got to be straight or the lens mount will bind on it.
I guess the front section could be salvaged but the rear section is history.