Updated node.js file pipe to stop memory build up and crash when proxying external fits file

Signed-off-by: Jon Yardley <jonyardley@me.com>