Avoid potential buffer overrun in wtperf.