doc: Use write_full for C++ example

doc: Latest version of librados uses write_full when writing entire object.

Signed-off-by: Kevin Dalley <kevin@kelphead.org>