fixed issue with raw images not downloading due to incorrect variable
changed variable name "f" to more descriptive name "dnldname" in order to prevent future logic errors
changed test as per Hansode
fixed spacing
Merge pull request #210 from axsh/bug-issue-209

fixed issue with raw images not downloading due to incorrect variable