Use URI.escape when storing cookie contents