[TAV-512] Fix overzealous file extension restrictions for inputs.

This is due to Paperclip being a bit keen, so we just coerce it into being a bit
more relaxed with the extensions on plain text types.