Handle avatar uploads
Fix colorspace conversion issue for avatars