code: public static OutputSupplier<? extends OutputStream> newOutputSupplier(final Location location) {
      return new OutputSupplier<OutputStream>() {
        @Override
        public OutputStream getOutput() throws IOException {
          return location.getOutputStream();
        }
      };
    }
docs: Creates a new {@link com.google.common.io.OutputSupplier} that can provides {@link java.io.OutputStream} for
  the given location.
  
  @param location Location for the output.
  @return A {@link com.google.common.io.OutputSupplier}.