sv_error_str: remove usage of error_str()
interface: ruby: replace byte_copy with memcpy