Bugfix create temp data file (develop)

This is the corresponding develop pull for hotfix #107