Before, the `FileChooser` could create a malformed `accept` parameter by repeating extensions if they were specified by several MIME types. This no longer happens and there is a test for it.