Changed buffer size to reduce I/O operations

Changed the read/write buffer size from 8kB to 32MB. This reduces the
number of I/O operations and we hold on to the CPU for a longer time.
The speed increase should be significant.
Merge pull request #1 from pierrevr/master

Changed buffer size to reduce I/O operations