[trivial] Typo in writeBody documentation

Probably meant "whole". I think "entire" reads better.