Refactored and changed the ReadNullTerminatedString method in
ByteStream. Renamed to ReadNullTerminatedAsciiString. It now decodes
using the Ascii encoder instead of a simple cast, not sure if this
makes a difference, but it's simpler to read. Also changed the
unit tests to compare against the actual return codes instead of hard
coded values.