remove only temporary files created by the generator, on destruct

My basic problem was, that I wanted to include static html files into the header and the footer, and this lib. tried to remove them, but of course it must not do that.

This PR fixes this problem:
 - only the temporary files created by the lib. will be deleted
 - unit tests had to be modified as the destructor cannot be mocked
 - also fixes #122