workaround for bug in IOUtil.closeQuietly

I guess this is why you shouldn't reinvent the wheel. Sigh.