Yes, this does have the risk of wiping out a file with the same name as the source file in the temporary folder; it also runs the risk of encountering a file with the new name in the temporary items folder, causing the script to error. Both risks are so miniscule as to not having any concerns about.