what do you mean?
tmp file needs to be renamed then copied to the final destination