Fixed problem with the repair command.
This fixes #1188
Added locally allocated buffers for copystream to reduce pressure on allocator
Improved performance of the file-backed list and reduce fall-over size to 2mb