compiler.AddFile: Use fdopen on dup file descriptor and properly close it
compiler.AddFile: Use fdopen on dup file descriptor and properly close it

... instead of freeing FILE* which may not be safe.

VirusTotal/go-yara,hillu/go-yara,rayyang2000/go-yara,hillu/go-yara,rayyang2000/go-yara