(TCotten) Clean up temporary cookie jar files created by makeCurl()

* Previous version of the script left temporary files behind
* Avoids issues with the /tmp folder filling up with 65535 files and crashing other services such as MySQL