What about non-image file uploads? With custom form fields we want to support generic file upload too (ie. attach a csv of data to a post).

I think ideally we'd limit extensions in the form attribute config.. but we'll need to modify that API for that too.. maybe for now this is just a @todo note?