Detect and convert uploaded CSV files to UTF-8