Fix removing of oscam.version.

Always delete oscam.version file on exit.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8308 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Introduce get_tmp_dir_filename() function.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8309 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Move all cleanup function calls in main().

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8310 4b0bc96b-bc66-0410-9d44-ebda105a78c1