Add CStrBuf method .to_vec()

Another utility to copy the string as a byte vector.