SocketAPI: Fix all files are new

(Introduced because of bad resolution of merge conflict
in my last commit)
SocketAPI:  always clean the path and use the normal slash