Fix upload from fields to have utf8 and make s3_progress_bar_target accept a function