CONN-591: Fixed the copy/delete issue in FileUtils