Fixing single file download.

Fixes claroline/Claroline#305