Fix MIME parsing of filenames specified using multiple parameters. Bug 3099