PDF generation for PDF version now fixed (thanks to @sjoelund)
Fixes limit in number of arguments for the `rm` command.

...by using a loop instead.
Wrong file extension for image files (.mo instead of .*)
Also ignore pdf files inside the ModelicaByExample folder