title: Append one large file to other large file in nodejs
body: <p>I am working on an app using the electron framework(atom shell) and I am new to NodeJS. This downloads a large file as two(or more) pieces (>2GB each) by specifying byte range in the http get requests. After it is done I want to combine these two files. Till now I have been able to think of a solution such that open up both files and use fs.appendFile to append chunks of second file to first one. It seems to me that this will be a very slow process and also will block down nodejs. Is there any other efficient way. I am also willing to spawn a child process and use some other application.</p>