Change file_uploadFolder in the table tl_metamodel_attribute from varchar to blob. This should work for Contao 3.1 and Contao 3.2.