private void writeToEntry(final FileContent content) throws IOException { final InputStream input = inputStreamFrom(content); boolean threw = true; try { ByteStreams.copy(input, output); threw = false; } finally { Closeables.close(input, threw); } }