Fixed buffer concatentation

Fixing the Buffer concatenation to avoid character encoding issues, as per #6