PILOT: Measuring polarization in the interstellar medium