Support namespaced file input types. Fixes #220

Also sets the parent-most form's `attr.enctype` to `multipart/form-data`