Make stringbuf auto, and make its length the more logical BUFSIZ.