Updated downloadfile commands in core and install to use proxy.