fixed RawByteString PathConv() return value, removed the no longer needed dosLock() function, and related cleanups

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25939 3ad0048d-3df7-0310-abae-a5850022a9f2