CGE: Remove unecessary void pointer usage in resource file I/O.