Move toObjFile to toobj.c
Merge pull request #1672 from ibuclaw/toobj

Move toObjFile to toobj.c