Replace spaces with hyphens in name