CORE-4565: corrected a problem that was causing errors when attempting to download a file