Write CSV file to a tempfile so that CSV parser can call pos.