docs: public Attachment uploadAttachment(String fileName, String contentType,
                                         byte[] content) throws RedmineException, IOException {
          final InputStream is = new ByteArrayInputStream(content);
          try {
              return uploadAttachment(fileName, contentType, is, content.length);
          } finally {
              try {
                  is.close();
              } catch (IOException e) {
                  throw new RedmineInternalError("Unexpected exception", e);
              }
          }
      }