Added support for null bytes in strings.