Add exit-status support for ssh2 file wrappers