when overwriting is set, delete the file at the final path before moving the downloaded file to it's location;