Remove obsolete open() from MIME decoder

Also, add dunder-main section while I am in the code.