better check if output handle is compatible with new (copied) handle git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11970 ec53bebd-3082-4978-b11e-865c3cabbd6b
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11772 ec53bebd-3082-4978-b11e-865c3cabbd6b