ECMS-6238: Cannot upload file whose name contains [ character in Activity Composer

Fix description:
- Make uploading file and creating folder in Activity Composer consistent with the same method in Content Explorer