Bug 896846

lib/crypto/packaged:sign_app does not clean up tempfile in
all cases