golang passing temp files with content from go