8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails Co-authored-by: Nathan Clement <nathan.a.clement@hotmail.com> Reviewed-by: alanb, prappo