Allow compound extensions (.tar.gz, .tar.xz, ...)

This fix is not complete, as we should also change https://github.com/UCL-INGI/INGInious/blob/master/frontend/pages/admin_course.py#L364 to generate the correct filename in the downloaded archive.

Basically, we want to take the longuest extension in the allowed extensions.