TABDEV-1684: Reverted develop to the old attachment upload implementation.