Fix encoding problem with status update with media api.
Merge remote-tracking branch 'hori/Fix_encoding_problem_with_status_update_with_media_api'