Improved backward compatibility for Contao 3.1 file IDs