Good news, i have identified the files and they are not harmfull.
even better, i have possibly discovered the identity of Dark RevenantX's "bad programmer"...
MYSELF!!!

Opening the files in notepad, they contain raw data for a FS_Port FRED mission.
The most likely reason they were created was because i tried to run FS_Port 3.0 on an outdated FS_Open version (3.6.7 IIRC) and it kept crashing. Possibly the data was dumped onto my C: root.
So yeah, i thought i'd post it up so you could spread the world to people like me and CP5670.
If you have gam.00# files on your root directory, they're harmless FRED data. Open them up in notepad and they'll look very familiar.Sorry to bother everyone with a false alarm, and thanks very much for all your advice.