patch bottle writer implementation to eliminate a memcopy, saves ~15percent on larga data block