Araq/Nimrod — pull request #1221 by rbehrends (2014-05-24 05:23:35+00:00)
Title: Fixed readAllBuffer() to avoid adding garbage bytes at end.

The function readAllBuffer() always returned a string that was a
multiple of the BufSize in length, regardless of how many bytes were
actually read, padding the result with garbage bytes on the last chunk.
This fix properly trims the last chunk to its actual size. It also sets
BufSize to a value less likely to cause unnecessary overhead with C and
OS file I/O.