Update tempfiles Go rule to include os package functions
Updates the rule to include os.WriteFile
and os.OpenFile
functions. Also adds test annotations to the related test file.
Part of Enhance Go semgrep rules (gitlab-org/gitlab#409443 - closed)