this method does not break relative paths

The current way of replacing dots with forward slashes will break paths that are relative.

"../../test/foo/bar.socket.http"

will become

"//////test/foo/bar/socket/http"