Fix reading in of unicode characters in batch upload.