PSBT files should be opened in binary mode as on windows, all newlines are turned into CRLF which produces invalid PSBTs.
This is a partial backport of [[https://github.com/bitcoin-core/gui/pull/188 | core-gui#188]]
The change to psbtoperationsdialog.cpp is not applicable due to missing backports (core#18027)