[PD] writesf produces incorrect header (pd-0.41.0)