Converts the object into an allocated CString.
CString
fn to_cstring<H>(&self) -> Result<CString<H>, Errno> where H: Allocator, <H as Allocator>::Pool: Default,