Throw parse error if string contains NULL byte