Fix leaks of geany_run_script.

When an error occurred after geany_run_script was created the
script was not deleted (two places) and on an execute error it
would only be deleted if no working dir was specified.