Use mktemp to create uniquely named files in the temp directory. This will avoid overwriting any files of the same name and keep the working directory clean.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
Use mktemp to create uniquely named files in the temp directory. This will avoid overwriting any files of the same name and keep the working directory clean.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.