(trunk, libT) #4160 'foreign character support' -- merge mike.dld's 4160-02b-path.patch, which updates the codebase to use the new tr_sys_path_*() portability wrappers introduced in 4160-02a

git-svn-id: svn://svn.transmissionbt.com/Transmission/trunk@14320 f4695dd4-2c0a-0410-b89c-da849a56a58e