Fix unicode-related failures in CSV upload.

TNL-586

@adampalay 
is this change part of this fix?