save current file before running gocode