Raise error for cstrings with null bytes