Fixed a bug with file renaming when a file with the same name already existed
Fixed a bug with file renaming when a file with the same name already existed

vitorgalvao/tiny-scripts,vitorgalvao/tiny-scripts