bigger buffer for larger files

This adds a bigger `maxBuffer` to circumvent an error that was occurring with larger input files.  Not sure if this is large enough for all uses, but gets past the error for me.