I'm having a similar problem. I do my development inside different VM's and after a recent "upgrade" to the hypervisor, when I try to save a file to the shared drive, Pelles C fills the file with zeroes (0x00) and that's the end of that. No other IDE I use, or text editor, suffers from the problem. I have Pelles 'C', Microsoft VB, C++, C#, Pure BASIC, and Power BASIC installed along with Notepad++, and Multi-Edit. No program other than Pelles is goofing up. I have contacted the maker of the hypervisor and they have verified that they can reproduce the problem and are going to investigate, but I have also tried to get some information from Pelles to see what he is doing during a file save that no one else seems to be doing.
Hopefully this will get resolved because the new version of the hypervisor has some features I have been waiting for.