Stacks of cyclic covers of projective spaces