Fix: always create tmp dir, especially after a reboot

Related: easybib/infolit#1357
Make sure tmpdir exists
Update: revert
Merge pull request #457 from till/f/php-tmp-dir

Fix: always create tmp dir, especially after a reboot