Fix readpassphrase for Windows