y_write_parameter_to_file(): Calculate parameter size correctly.