io: whitespace/line cleanup