cleanup: remove unused xbuf and hash_bytes

we do not use xbuf anymore- std::string is pretty good for our use
cases.