Reliable file transfer tool in node-webkit