[TASK] Enforce permitted file types on table and field basis

Now respects TCA file type restrictions for the field to which files are being uploaded.