Return attachment file content as Stream without loading it into memory

Hi,

the file content attachted to a task gets loaded into memory before it gets transferred into a ByteArrayInputStream (https://github.com/camunda/camunda-bpm-platform/blob/a92fb218516957c783a701e19c34db6901a1eb6f/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/GetAttachmentContentCmd.java#L50).

With a lot of traffic and/or larger file this can consume quite a lot of memory.
We are looking for a solution to avoid that, when handling the attached files to a task, but could not find a matching interface for this.
Is there a recommendation you can give us? Are there plans to change this in future releases?
If not, would you consider enhancing the code with that option?

Best regards,
Christian