Use NIO to download files for UpdateDeployer