Safari Location
Pretty sure this location has been the same for a number of years now, if not let me know in the comments:
~/libraries/cookies
Removing Safari Cookies
I am not a MAC expert, so I am going to bow out on this part and pass you over to a blog post I have found on the subject 🙂
http://www.leancrew.com/all-this/2013/03/deleting-safari-cookies-via-applescript/