The `resolution` and `nurbs_order` attributes of curves are expected to be `>= 1`. Due to a bug, it was possible that they are initialized to zero: #124534. This fix adds versioning code to fix the curves that have been written incorrectly. Pull Request: https://projects.blender.org/blender/blender/pulls/124539