FIX Unable to validate files without tmp_name (regression).