When you have finished editing, you can render your project via the Render->Export Timeline menu. This brings up a dialog, which allows you to choose your export format, export options, and filename to save as.

The current version of Kdenlive/Piave only supports export to raw dv format.