mstress: fix webui dircopy, and remove trailing slashes