Core: Trim headers for CSV-likes files