Avoid call to rb_string_value_cstr() which doesn't handle binary strings from Ruby properly

Fixes #32
Merge pull request #35 from rtyler/issues/32-binary-data

Avoid call to rb_string_value_cstr() which doesn't handle binary strings properly