[core] Attachments will use InputStream rather than ByteBuffer

1 job for 1242-attachment-input-stream in 11 minutes and 12 seconds (queued for 3 seconds)