We should use just '/' instead of os.sep here. If we ran the server on Windows (which doesn't work anyway), the path would come out as /treename/source\some\path.