provide a function to resize encode buffer. 65536 seems to small for NFS read
and write to perform well.