MDL-33547: Fix for mod_assign portfolio export for a list of files.