Merged identical methods

Merged `ensureClosed( InputStream )` and `ensureClosed( OutputStream )` methods into `ensureClosed( Closeable )`  this makes binding into a xamarin project cleaner.