Fix argument ordering in mime parsing.