BPMSPL-37-attachment-support: improved API to upload byte[] instead of File