extruded curves changing orientation on render
One (or more) of your modifiers is disabled for rendering:



Enable it and render happily ever after.



The camera icon toggles the use of the modifier for rendering.