Fix image upload error

header value must be string