Fix handling legitimate duplicate filenames better.
Fix handling legitimate duplicate filenames better.

common.downloadFile now keeps a list of files that have been ripped for the
given basePath in this session and uses that to enhance duplicate detection
by differentiating between new files and those already on the filesystem.

coreymatyas/ophiuroid,coreymatyas/ophiuroid