[ctioga2] work around nasty encoding problems on win32 + work around directory problems probably everywhere

git-svn-id: svn+ssh://rubyforge.org/var/svn/ctioga2/trunk/ctioga2@508 86c91514-0d3b-42e0-aed1-4dfce116d947