[tor-commits] [tor/master] finish_writing_to_file_impl(): Remove temporary file if replacing the existing one failed