wrapping readers used in IOUtils.copy in an auto close try block