Changed downloading to use curl instead of node.js streams to fix issues on Linux build servers