RavenDB-1427. change buffer creation to buffer pool (instead of creating byte arrays each time)