Fixing bug in startdownload (storing fileinfo variable)