Export Temp Files

Why when exporting jpegs does it create a tmp file in the same location and how do I turn this off?