fix bug 3265, 'procmime.c: unbalanced flockfile() / funlockfile()'