Writing our own buffer concat function.

We want to work on old node versions.