Equipping spacecraft with X-ray machines could boost safety for long-duration spaceflights—like a crewed mission to Mars