Use null-safe string method for symbols as well as strings.
Use more performant .bytesize instead of unpack('C*').size.
Add spec demonstrating failure when a symbol contains a null character.
Merge pull request #23 from nathanaeljones/fix-strings

accept symbols with \0 in them