FIX Wrong variable name breaking data downloads

While working on other things, I noticed one of my recent commits (8d12e8007fa85600820e0fc8535acb76eb079394) introduced a bug that prevents downloads from working correctly (apologies!). This PR fixes the bug (with just a variable name change) and also improves some related docstrings a bit.