change file donwload to use temp file in a different location
fix for 2188