check Ruby strings for embedded null bytes

Kinda forgot about it. Let's try this. I doubt this will break a game and it's the correct way anyway.