Output the best maching password first

Speeds up retrieval on systems where gpg is somewhat slow (ie. raspberry pi)
Revert "Dropped open-method in gpgIO (replaced by open2)"

This reverts commit d971fd39f60b24b50b48cabbfb9de4f14b62c028.
Using open2 can break certain password prompts in gpg1