Bug 952961 - Remove our own executable check and pref check, and added a regitry check when downloading a file. r=paolo