Cleanup the pdb_downloader function (-40LOC)