Update TC upload code

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
Fix hash generation for TC, code is working

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
Move read/write to separate functions for profile

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
Add profiles transition to uploads

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>
Fix TC files upload functionality

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>