So, here is my attempt:
Consider $d=(a,c)$. Per definition $d|c \Rightarrow d^n|c^n$. So by $c^n=ab$ we have $d^n|a$ since $(a,b)=1$. Therefore $a=k\cdot d^n$ for some $k$. I could argue the same way for $b=l\cdot e^n$ for some $l$ with $e=(c,b)$. So now we have $c^n=kld^n e^n$. Taking the nth root I have a whole number $c$ on the left, so the $k,l$ must b powers of n. Qed.
What do you say?