Added rm command to make sure gist_cacert.pem gets updated.

Added check if file exists before removing.