Fix "Open with" problem

"Open with" functions are broken after I integrated archives extraction into
attachment saving. This commit fixes the problem caused by the commit:
c44b5c5cd564134755eba7904b2efb894c2ea513.