add buffer.concat in lower nodejs version