Reuse buffers when reading/writing data.

This reduces memory usage quite a lot and decreases necessary gc runs.