Get around potential ArgumentExceptions if the parsed disposition string is not "attachment" or "inline"