escape slashes in metric names