tools: Fix FILE memory leak in gpg-connect-agent.