-Codechange: Use the new path functions where appropriate.


git-svn-id: https://freerct.googlecode.com/svn/trunk@1230 d3bf82d2-0c16-e458-5408-27be57bd1276