ImageIO Format PFM: fwrite one line at a time (based on series of performance measurements)