Planck intermediate results. XXXIII. Signature of the magnetic field geometry of interstellar filaments in dust polarization maps