[examples] Fix endline character at the end of partitioned examples

Merged Timo Koch requested to merge feature/examples-fix-new-line-endoffile into master

Merge request reports