Resize buffer (rather than minbytes)

Fix for issue 73.

Also:
Change buffer growth factor to be 2x (stops decimals when growing the
buffer and gives a nicer multiple).
Stop buffer growth from starting at 1 byte (when we already know the
previous buffer (default of 4k) was too small