If everyone is presented as the same gender, it stops becoming a variable, no? I get that it's probably not applicable for whatever you're doing, but it would be the easiest solution. Or equivalently just put s/he?
Replacing with "s/he" could be a viable option, however. It doesn't read particularly well but it does seem to do the job—I will definitely consider this option!